import BasicLayout from "@/layout/index.vue";
import { RouteRecordRaw } from "vue-router";

const MODULE_NAME = "dashboard";

const dashboard = {
  id: 1,
  pid: 0,
  name: "桌面",
  path: "/dashboard",
  redirect: "/dashboard/welcome",
  component: "BasicLayout",
  icon: "DesktopOutlined",
  key: MODULE_NAME,
  hidden: false,
  children: [
    {
      id: 11,
      pid: 1,
      name: "工作桌面",
      path: "/dashboard/welcome",
      redirect: "",
      component: "/desktop/index",
      icon: "DesktopOutlined",
      key: `${MODULE_NAME}_desktop`,
      hidden: false,
      keepAlive: false,
    },
    {
      id: 12,
      pid: 1,
      name: "修改信息",
      path: "/profile/index",
      redirect: "",
      component: "/dashboard/profile/index",
      icon: "ProfileOutlined",
      key: `${MODULE_NAME}_profile`,
      hidden: false,
      keepAlive: false,
    },
    {
      id: 13,
      pid: 1,
      name: "修改密码",
      path: "/password/change/index",
      redirect: "",
      component: "/dashboard/changePassword/index",
      icon: "LockOutlined",
      key: `${MODULE_NAME}_change_password`,
      hidden: false,
      keepAlive: false,
    },
  ],
};

export default dashboard;
